define(function () {
    return {
        toggleBar: function (showID, hideID1, hideID2) {
            $("#" + hideID1).hide();
            $("#" + hideID2).hide();
            $("#" + showID).show();
        },

        popOpen: function () {
            $(".popWindow").show();
        },

        popClose: function () {
            $(".popWindow").hide();
            $(this).hide();
        },

        hoverShow: function () {

        },

        swiper: function () {
            $(document).ready(function () {
                var mySwiper = new Swiper('.swiper-container', {
                    direction: 'horizontal',
                    loop: true,
                    pagination: '.swiper-pagination',
                    nextButton: '.swiper-button-next',
                    prevButton: '.swiper-button-prev',
                    autoplay: 6000
                })
            })
        }

    };
});
